<?php
// +----------------------------------------------------------------------
// | 中犇单商户
// +----------------------------------------------------------------------
// | Copyright (c) 2019-2021 中犇科技 All rights reserved.
// +----------------------------------------------------------------------


/**
 * 模块信息
 */
return [
  'name' => 'order',
  'title' => '订单',
  'identifier' => 'order.zbphp.module',
  'icon' => 'fa fa-fw fa-th-large',
  'description' => '订单管理',
  'author' => 'php迷途小书童',
  'author_url' => 'javascript:;',
  'version' => '1.0.0',
  'need_module' => [
    [
      'admin',
      'admin.zbphp.module',
      '1.0.0',
    ],
  ],
  'need_plugin' => [],
  'tables' => [],
  'database_prefix' => 'lb_',
  'config' => [
      [
          'type' => 'number',
          'name' => 'order_timeout',
          'title' => lang('订单超时时间'),
          'tips' => lang('请填写整数，单位：分钟'),
          'value' => '',
          '' => '',
      ],
      [
          'type' => 'text',
          'name' => 'order_receive',
          'title' => lang('订单自动收货'),
          'tips' => lang('订单自动收货时间,单位天'),
          'value' => '7',
      ],
//        [
//            'type' => 'text',
//            'name' => 'order_share_val',
//            'title' => lang('订单分享的金额'),
//            'tips' => '',
//            'value' => '0',
//            '' => '',
//        ],
      [
          'type' => 'number',
          'name' => 'refund_day',
          'title' => lang('退款时限'),
          'tips' => lang('订单可售后时限,下单XX天后不可售后,单位天'),
          'value' => '0',
          '' => '',
      ],
      [
          'type' => 'text',
          'name' => 'kuaidi_appcode',
          'title' => '快递查询APPCODE',
          'tips' => '阿里云市场查看，购买链接 https://market.aliyun.com/products/56928004/cmapi023201.html#sku=yuncode1720100000',
          'value' => '0',
      ],

      [
          'type' => 'radio',
          'name' => 'send_status',
          'title' => lang('自提开关'),
          'tips' => lang('控制客户端配送方式【用户自提】开启与关闭'),
          'extra' => [lang('关闭'), lang('开启')],
          'value' => 0,
      ],

  ],
  'action' => [],
  'access' => [],
];
